package cn.zye.msa.db;

import java.util.List;

public class NavigationListItem {
	public NavigationListItem() {
	}

	public NavigationListItem(int _id, int _pid, String _title, int _img,
			boolean _isEnabled, String _url) {
		this.id = _id;
		this.pid = _pid;
		this.title = _title;
		this.img = _img;
		this.isEnabled = _isEnabled;
		this.url = _url;
	}

	private int id;
	private int pid;
	private String title;
	private int img;
	private boolean isEnabled = true;
	private String url;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	private List<NavigationListItem> items = null;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getImg() {
		return img;
	}

	public void setImg(int img) {
		this.img = img;
	}

	public boolean isEnabled() {
		return isEnabled;
	}

	public void setEnabled(boolean isEnabled) {
		this.isEnabled = isEnabled;
	}

	public List<NavigationListItem> getItems() {
		return items;
	}

	public void setItems(List<NavigationListItem> items) {
		this.items = items;
	}
}
